package com.buobao.bmall.service;

import com.buobao.bmall.model.pojo.User;

public interface UserService {
    User selectUserById(Integer id);

    User selectUserByName(String username);

    Integer insertUser(User user);

    Integer updateByPrimaryKey(User user);

    boolean checkAdmin(User user);
}
